package com.caigou;



import com.caigou.config.EmpireConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

import com.caigou.config.BidConfig;
import com.caigou.config.CmsConfig;
import com.caigou.config.ExamConfig;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@EnableConfigurationProperties(value = {BidConfig.class, ExamConfig.class, CmsConfig.class, EmpireConfig.class})
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableAspectJAutoProxy(exposeProxy = true)
public class CaigouApplication {

    public static void main(String[] args) {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
        SpringApplication.run(CaigouApplication.class, args);
        
    }

}
